package com.ruoyi.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 缸对象 tank_info
 * 
 * @author ruoyi
 * @date 2025-02-05
 */
public class TankInfo
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 厂线号 */
    @Excel(name = "厂线号")
    private Long lineNo;

    /** 生产缸 */
    @Excel(name = "生产缸")
    private String tank;

    /** 正在生产订单号，没有则置000000 */
    @Excel(name = "正在生产订单号，没有则置000000")
    private String orderNo;

    /** 订单状态，0:未生厂;1:前混;2:后混 */
    @Excel(name = "订单状态，0:未生厂;1:前混;2:后混")
    private Long orderStatus;

    /** 缸秤重量 */
    @Excel(name = "缸秤重量")
    private BigDecimal tankWeight;

    /** 设备是否可用(0:可用;1:不可用) */
    @Excel(name = "设备是否可用(0:可用;1:不可用)")
    private Long tankState;

    /** 搅拌频率 */
    @Excel(name = "搅拌频率")
    private BigDecimal mixFrequency;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLineNo(Long lineNo) 
    {
        this.lineNo = lineNo;
    }

    public Long getLineNo() 
    {
        return lineNo;
    }
    public void setTank(String tank) 
    {
        this.tank = tank;
    }

    public String getTank() 
    {
        return tank;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }
    public void setTankWeight(BigDecimal tankWeight) 
    {
        this.tankWeight = tankWeight;
    }

    public BigDecimal getTankWeight() 
    {
        return tankWeight;
    }
    public void setTankState(Long tankState) 
    {
        this.tankState = tankState;
    }

    public Long getTankState() 
    {
        return tankState;
    }
    public void setMixFrequency(BigDecimal mixFrequency) 
    {
        this.mixFrequency = mixFrequency;
    }

    public BigDecimal getMixFrequency() 
    {
        return mixFrequency;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineNo", getLineNo())
            .append("tank", getTank())
            .append("orderNo", getOrderNo())
            .append("orderStatus", getOrderStatus())
            .append("tankWeight", getTankWeight())
            .append("tankState", getTankState())
            .append("mixFrequency", getMixFrequency())
            .toString();
    }
}
